<fieldset>
    <legend>Image:</legend>
    <div id="gallery_image">
        
        <label for="upimg">Image (jpg only):</label>
        
        {if $image.image == 't'}
            <br />
            <div class="nodeimgdiv" id="nodeimgdiv"><img src="{$INA.root}{$filePath}image/80x60.jpg" class="nodeimg" /><br />
            <a href="javascript: deleteGalleryImage('{$smarty.get.id}');" class="admin">delete</a>
            </div>
            <input style="display: none" type="file" name="nodeimage" value="" id="upimg" class="textinput" style="width: 100%;" />
        {else}
            <input type="file" name="nodeimage" value="" id="upimg" class="textinput" style="width: 100%;" />
        {/if}
    </div>
</fieldset>

<fieldset>
    <legend>Content</legend>
    <label for="dataTitle">Title:</label>
    <input type="text" name="title" class="textinput" value="{$image.title}" id="dataTitle" />
    <input type="hidden" id="imgSet" name="img" value="{$image.image}">
    <br />
    <label for="elm1">Content:</label>
    <textarea id="elm1" name="content" rows="20" cols="40" class="tinymce mceEditor">
        {$image.content}
    </textarea>
</fieldset>